<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        /*后代选择器*/
        /*body div div p{color: blueviolet}*/
        /*子元素选择器*/
        body>div>div>p{color: burlywood}

    </style>
</head>
<body>
<p>p1</p>
<div><p>p2</p></div>
<div>
    <div><p>p3</p></div>
    <!--p4也会被选中-->
    <div><div><p>p4</p></div></div>
</div>

<a href="http://www.baidu.com">超链接</a>

</body>
</html>